<?php 
$symbol = 'BBVA';

$url = 'http://finance.yahoo.com/d/quotes.csv' .
'?s=' . $symbol . '&e=.csv&f=sl1d1t1c1ohgv';

if (!($contents = file_get_contents($url))) {
die('Failure to open ' . $url);
}
// extract relavant data
list($symbol, $quote) = explode(',', $contents);
 update







 ?>